package com.asb.utils;

import java.io.File;

import cn.hutool.core.lang.UUID;

/**
 * 工具类
 */
public class Strings {
	public static boolean isNullOrEmpty(String string) {
		return string == null || string.isEmpty();
	}

	public static String nullToSpace(String string) {
		return string == null ? "" : string;
	}

	/**
	 * 简化的UUID，去掉了横线
	 * 
	 * @return 简化的UUID，去掉了横线
	 */
	public static String simpleUUID() {
		return UUID.randomUUID().toString(true);
	}

}
